<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property string $username 用户名
 * @property int $times 尝试次数
 * @property int $last_time 最后验证时间
 * @property string $last_ip 
 */
class Time extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'times';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['username', 'times', 'last_time', 'last_ip'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['times' => 'integer', 'last_time' => 'integer'];
}
